package com.hsh.service;

import com.hsh.entity.OperationLog;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.scheduling.annotation.Async;

/**
 * <p>
 * 日志记录表 服务类
 * </p>
 *
 * @author 黄思海
 * @since 2021-06-26
 */
public interface IOperationLogService extends IService<OperationLog> {
    /**
     * 异步保存操作日志
     */
    @Async("CodeAsyncThreadPool")
    void saveLog(OperationLog log);
}
